package com.heima.feign.clients.fallback;

import com.heima.feign.clients.ArticleClient;
import com.heima.model.article.dtos.ArticleDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.stereotype.Component;

@Component
public class ArticleClientImpl implements ArticleClient {

    @Override
    public ResponseResult saveOrUpdateArticle(ArticleDto dto) {
        return ResponseResult.errorResult(501,"服务器正忙...");
    }
}